<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sj" tagdir="/WEB-INF/tags/spring-jquery-tags"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<link href="<c:url value='/css/tablesorter.css' />" rel="stylesheet"
	type="text/css" />
<link href="<c:url value='/css/jquery.tablesorter.pager.css' />"
	rel="stylesheet" type="text/css" />
<link href="<c:url value='/css/dhtmlxcombo_view.css' />"
	rel="stylesheet" type="text/css" />
<script type="text/javascript">
	$('.close-button').click(function() {
		loadDiv('content', 'refreshDashboard.do');
     });
</script>
<div id="findCipeprojectDiv">
	<div class="main_form">
		<div class="form_head">
			<h4>LIST OF ACTIONABLE ALERTS</h4>
			<a href="#" class="close-button gray_btn floatR">Close Form</a> <br
				class="clear" />
		</div>
		<div class="form_cont">
			<table class="tablesorter">
				<thead>
					<tr>
						<th>Area</th>
						<th>Title</th>
						<th>Description of event that will Trigger the Actionable
							Alert</th>
					</tr>
				</thead>
				<tbody>
				<c:set var="counter" scope="page" value="${0}"></c:set>
					<c:forEach items="${actionableAkertList}" var="actionableAlert" varStatus="s1" >
							<c:choose>
								<c:when test="${s1.index%2==0}">
										<tr class="alernate-row">
									</c:when>
									<c:otherwise>
										<tr>
									</c:otherwise>
								</c:choose>
						<td >${actionableAlert.module}</td>
						<td style="color: red;">${actionableAlert.type}</td>
						<td >${actionableAlert.description}</td>
						<c:set var="counter" scope="page" value="${counter+1}"></c:set>
					</tr>	
					</c:forEach>
					</tbody>
				</table>
		</div>
	</div>
</div>